﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace SQLTouch.Service.DataContracts
{
    [DataContract]
    public class DatabaseData
    {
        [DataMember]
        private readonly Guid id;
        [DataMember]
        private readonly string connectionString;

        private DatabaseData()
        {

        }

        public DatabaseData(Guid id, string connectionString)
        {
            this.id = id;
            this.connectionString = connectionString;
        }

        public Guid Id
        {
            get { return id; }
        }

        public string ConnectionString
        {
            get { return connectionString; }
        }
    }
}
